package com.hibikiluler.javalearning.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 角色信息实体
 * 	id bigint(20) not null primary key auto_increment comment '主键',
 * 	lable varchar(50) comment '角色描述',
 * 	codes varchar(10) comment '角色对应的标签值'
 */
@Data
public class SysRole{
    @ApiModelProperty(value = "主键")
    private Long id; //主键
    @ApiModelProperty(value = "角色标签名称")
    private String label; //标签
    @ApiModelProperty(value = "角色标签名称值")
    private String codes; //标签值
    @ApiModelProperty(value = "显示状态0：显示 ，1不显示：")
    private boolean status;
    @ApiModelProperty(value = "菜单列表")
    private List<SysMenus> menuMap;
    @ApiModelProperty(value = "权限列表")
    private List<SysAdmins> adminMap;
}
